import 'package:flutter/material.dart';
import 'package:note_life/color.dart';

class RecordDay extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return _RecordDay();
  }
}

class _RecordDay extends State<RecordDay> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("简记"),
        elevation: 0.0,
      ),
      body:SingleChildScrollView(
        child: Column(
          children: <Widget>[
            Container(child: Row(
              children: <Widget>[
                Hero(
                    tag: "record_day",
                    child: ImageIcon(AssetImage("images/day_note_icon.png"),color: AppColor.BLUE_COLOR,)),
                Expanded(child:Container(child: TextField(decoration: InputDecoration(hintText: "请输入主题"),),margin: EdgeInsets.only(left: 5.0),) ,flex: 1,)
              ],
            ),margin: EdgeInsets.only(left: 15.0,right: 15.0,top: 10.0,bottom: 10.0),)

          ],
        ),
      ),
    );
  }
}
